<template>
  <div id="app" class="app">
     <monaco
	   :codes="'11'"
	   :readOnly="false"
	  >
	 </monaco>
    <div id="nav">
      <router-link to="/">Home</router-link> |
      <router-link to="/about">About</router-link>
      <router-link to="/editor">Editor</router-link>
    </div>
    <router-view />
    <el-backtop target=".app"></el-backtop>
  </div>
</template>

<style lang="scss">
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

//滚动条的滑块
::-webkit-scrollbar-thumb {
  // background-color: #ddd;
  background: rgb(221, 221, 221);
  border-radius: 3px;
}
::selection {
  color: #fff;
  background: #409eff !important;
}
.app {
  height: 100vh;
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
}
ul {
  padding: 0;
}
ul,
li {
  list-style: none;
}
</style>
